package com.zy.edu.service;

import com.zy.edu.bean.CourseChapterClass;
import com.baomidou.mybatisplus.service.IService;
import com.zy.edu.bean.InputParam;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HuangHaiShui
 * @since 2021-07-27
 */
public interface CourseChapterClassService extends IService<CourseChapterClass> {
    Map associatedCourse(InputParam inputParam) throws Exception;

    Map updateStatus(CourseChapterClass courseChapterClass, InputParam inputParam);

    Map getByClassAndCourse(InputParam inputParam);


    Map getCourseByClassId(InputParam inputParam);

    //根据课程id，查询该课程有哪些班级关联，只返回班级id
    List<CourseChapterClass> findClassIdsByCourseId(InputParam inputParam);

    Integer getCountByParam(String classId);
}
